﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UrlList.aspx.cs" Inherits="CJJCH.Web.Manage.UrlList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Style/SystemCss.css" rel="stylesheet" type="text/css" />
    <script src="../JScript/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="../Script/jquery-1.3.2.js" type="text/javascript"></script>
    <script src="../Script/JQcheck.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="divHidden" runat="server" style="display:none;">
            <asp:Label ID="lblKeyType" runat="server"></asp:Label>
        </div>
    <div class="BodyRight" style="width: 100%;">
        
        <div>
            <div>
                <uc:UrlTop ID="UrlTop" runat="server" IIndex="1" />
            </div>
            <table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
                <tr>
                    <td valign="top" style="width: auto; height: 100%; background: #d7e7ff;">
                        <div class="MainbodyTop" style="margin-bottom: 5px;">
                            <div class="MainSearch" style="width: 100%; margin: 5px 0px 5px 0px;">
                                <table border="0" cellpadding="2" cellspacing="0" width="auto">
                                    <tr>
                                        <td id="type" runat="server">
                                            类别：<asp:DropDownList ID="dropUrlType" runat="server">
                                                <asp:ListItem Text="所有" Value="0"></asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                        <td>
                                            <asp:Button ID="btnSearch" runat="server" Text="搜 索" OnClick="btnSearch_Click" Style="padding: 2px 10px 3px 10px;" Width="62px" CssClass="BtnSearch_x1" />
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
        <div class="RBodyTable_x2 Link_font" style="width: 99%;">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"
                class="font">
                <tr>
                    <th width="15%" align="center" valign="middle" class="HeaderBg">
                        <asp:Label ID="lblPicUrl" runat="server">图片</asp:Label>
                    </th>
                    <th width="20%" align="center" valign="middle" class="HeaderBg">
                        <asp:Label ID="Label1" runat="server">名称</asp:Label>
                    </th>
                    <th width="20%" align="center" valign="middle" class="HeaderBg" id="TypeB" runat="server">
                        <asp:Label ID="Label3" runat="server" Text="类别"></asp:Label>
                    </th>
                    <th width="35%" align="center" valign="middle" class="HeaderBg">
                        <asp:Label ID="Label2" runat="server">链接地址</asp:Label>
                    </th>
                    <th width="10%" align="center" valign="middle" class="HeaderBg">
                        操作
                    </th>
                </tr>
                <asp:Repeater ID="rptUrl" runat="server" OnItemDataBound="rptUrl_ItemDataBound">
                    <ItemTemplate>
                        <tr class="tdBg1">
                            <td align="center" valign="middle">
                                <asp:Image ID="ImgPicUrl" runat="server" Width="100" Height="50" />
                            </td>
                            <td align="center" valign="middle">
                                <asp:Label ID="lblURLName" runat="server"></asp:Label>
                            </td>
                            <td align="center" valign="middle" id="tdType" runat="server">
                                <asp:Label ID="lblTypeName" runat="server"></asp:Label>
                            </td>
                            <td align="center" valign="middle">
                                <asp:Label ID="lblURLString" runat="server"></asp:Label>
                            </td>
                            <td align="center" valign="middle">
                                <asp:LinkButton ID="lbtnEdit" runat="server" OnClick="lbtnEdit_Click">修改</asp:LinkButton>
                                <asp:LinkButton ID="lbtnDel" runat="server" OnClick="lbtbDel_Click">删除</asp:LinkButton>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
        </div>
        <asp:Literal ID="litMessage" runat="server"></asp:Literal>
    </div>
    </form>
</body>
</html>
